package czh.cocoa.animation;

import czh.cocoa.foundation.NSObject;
import czh.cocoa.foundation.NSString;
import czh.cocoa.graphics.CGContext;
import czh.cocoa.graphics.CGFont;
import czh.cocoa.graphics.CGRect;
import czh.cocoa.graphics.CGSize;

public interface CALayerDelegate {

	boolean displayLayer(CALayer layer);
	
	void drawLayerInContext(CALayer layer, CGContext ctx);
	
	void layoutSublayersOfLayer(CALayer layer);
	
	NSObject actionForLayerForKey(CALayer layer, NSString key, NSObject value);
	
	//additional
	void layerSizeDidChanged(CALayer layer, CGRect oldFrame);
	
}
